How is method overriding different from method overloading?
2142
27-Aug-2014
Sumit Kesarwani
27-Aug-2014Overriding involves the creation of two or more methods with the same name and same signature in different classes (one of them should be parent class and other should be child).
Overloading is a concept of using a method at different places with same name and different signatures within the same class.